package com.hust.dao;

import com.hust.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Desc
 * @Author xushuai
 * @CreateTime 2020/2/17 21:22
 **/
@Mapper
public interface LoginAndRegisterDao {

    User searchUserByuName(@Param("username") String username);

    int insertUser(@Param("user") User user);
}
